<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../../../static/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../static/js/jquery.js"></script>
<script type="text/javascript" src="../../../static/js/getParameter.js"></script>
<script type="text/javascript">
  $(function () {
    var firmId = getParameter("firmId");
    $.ajax({
      url: "/manufacturer/findOneFirm",
      method: "post",
      data:{firmId:firmId},
      dataType: "JSON",
      success:function (rel) {
        var status;
        if (rel.data.status === "1"){
            status = "可用"
        }else {
          status = "不可用"
        }
        $("#cfiName").html(rel.data.firmName);
        $("#cfiFounder").html(rel.data.firmFounder);
        $("#cfiAddress").html(rel.data.firmAddress);
        $("#cfiArea").html(rel.data.pname+"省"+rel.data.cname+"市");
        $("#cfiContent").html(rel.data.firmContent);
        $("#cfiStatus").html(status);
        $("#cfiCreateName").html(rel.data.createName);
        $("#cfiCreateTime").html(rel.data.createTime);
      }
    })
  })


</script>
</head>

<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li>采购管理</li>
    <li>厂商管理</li>
    <li>厂商详情</li>
  </ul>
</div>
<div class="formbody">
  <div class="formtitle"><span>厂商信息</span></div>
  <ul class="forminfo">
    <li>
      <label>厂商名称</label>
      <cite id="cfiName">阿里巴巴</cite>
    </li>
    <li>
      <label>负责人</label>
      <cite id="cfiFounder">马云</cite>
    </li>
    <li>
      <label>联系方式</label>
      <cite id="cfiTel">17370899727</cite>
    </li>
    <li>
      <label>联系地址</label>
      <cite id="cfiAddress">江苏南京苏铺路180号泸州花园7栋3单元1801室</cite>
    </li>
    <li>
      <label>所属区域</label>
      <cite id="cfiArea">江苏省南京市</cite>
    </li>
    <li>
      <label>描述</label>
      <cite id="cfiContent">阿里巴巴上市公司</cite>
    </li>
    <li>
      <label>状态</label>
      <cite id="cfiStatus">可用</cite>
    </li>
    <li>
      <label>创建人</label>
      <cite id="cfiCreateName">曹操</cite>
    </li>
    <li>
      <label>创建时间</label>
      <cite id="cfiCreateTime">2017-11-18 15:36:10</cite>
    </li>
    <li>
      <label>&nbsp;</label>
      <input name="" type="button" class="btn" value="返回" onclick="window.location.href='cflist'"/>
    </li>
  </ul>
</div>
</body>
</html>
